Generally, you are considered a non-resident alien for the year if you don`t meet one of two tests:
1. You are a citizen or a green card holder of the United States.
2. You were physically present in the United States for at least 183 days during 3-years period.