The definition of Resident for tax purpose is different from for immigration purpose. You 'd better ask payroll office at your university. PD