Why do you think an alien must live in the United States for at least five years before applying citizenship?
Aliens do not need to live in the United States for at least five years before applying for citizenship. The standard waiting period for permanent residents (who have a green card) to apply for citizenship is five years, but there are exceptions to this rule, such as for refugees and asylees.