1. You must apply for removal of conditions on your GC in the 90 day window before the expiry date of your green card
2. even if ROC is not yet approved, providing you meet the marriage, residency and domicile requirements for N400, you can apply for N 400 any time after 90 days before you have had LPR status for 3 years.