On the basis of an I-526 petition being approved you can apply for conditional permanent residency. If you are in legal non- immigrant status,such as B-2 visitor status, only then you can file an I-485 application in the U.S. This application will lead to the granting of conditional permanent residency. If you are not in legal status you can not file an application for conditional permanent residency status.