On the basis you are maintaining legal status under OPT you can file an application for conditional permanent residency when your I-526 petition is approved. You can obtain employment authorization while you are waiting for the decision by USCIS on your conditional permanent residency.