No, Depend on your visa,
The days you stay in USA is not counted if you are F1 (for first 5 calendar yeas), J1/J2 (for first 2 calendar years) etc. After those years , F1 can be treat as RA and use 1040, but can not claim std deduction if the F1 claim tax treaty (like $5000 deduction), read IRS pub 519 and 901 for detail.