As long as your are in legal status now, adn your f2 petition will be approved if your spouse have a valid f1 status.