If your Green Card isn't conditional, it's not affected by your divorce. Given the time frame you describe that's possible, but obviously that's not something we can verify for you. If you maintain permanent residency, and the worst thing that happens along the way is your divorce, you will ultimately qualify for citizenship.

