You are stating that your Green Card is still conditional? If you divorce before you get a permanent Green Card, you should expect to lose your status when the divorce process is complete and have to return to your nation of origin. If you wish to remain in the United States, you need to find some other way to get legal status before the divorce is final.
If you qualify for having the conditions removed from your Green Card, you can attempt to do so by filing Form I-751.

