If your green card is not based on marriage, you can file N-400 after you got the green card for 4 years plus 9 months, but you need to meet the physical presence requirement, i.e. physical presence in US for cummulatvie 36 months in the last five years.