The filing of the I-526 petition is the first step in obtaining the conditional permanent residency. The I-526 petition has to be approved first before you can apply for the conditional permanent residency either at the U.S. Consulate processing or adjustment in the U.S.