You can apply for citizenship if you have been permanent residence of US for 5 years, and have lived in US for the past five years with no 6-month or longer trip outside US per year during the past 5 years.