If you are a nonresident alien employed as a teacher, a student or a trainee who is temporarily in the US on a visa (F,J, M or Q), and you have income that is taxable such as wages, tips, scholarships, fellowship grants, dividends, etc, you must file a 1040NR or 1040NR-EZ return. This program does not currently support Non Resident returns.
Visit the IRS website for more information.