Am I an Illinois resident if I live in Illinois while attending school?
Living in Illinois to attend school does not make you an Illinois resident. If you are a resident of another state, you are a nonresident of Illinois for tax purposes.
If you earned income in Illinois while attending school then you may be required to file an income tax return in Illinois, as a nonresident. See FAQ 709 for more information.