Must residence in the U.S. be continuous?

No. However, residents must not have any continuous absences for longer than one year. In most cases, residents must demonstrate that they were physically present in the U.S. for at least 50 percent of the five-year (or three-year, if married to a U.S. citizen) eligibility period immediately before applying for naturalization. Absence of more than six months may be a problem.