You can file either 1040NR or 1040. If you are tax-waiver full year, NR is Ok. Let them reture the tax. If only half-year tax-waiver, calculate the salary you earn during that time, and deduct the amounts from your earning. Then calculate the tax you need pay or you can get.