I am a H1B visa holder, I and the F2 visa holder fell in love with each other, and want to marry. The F2 and F1 have agree to divorce. My question is if I can marry the F2 right after she divorce the F1 while technically she's out of status. Will our marriage be considered valid in United states? Can she adjust her statu to H4 in U.S. or she has to go back to her country and apply a H4 visa and re-enter?