You are usually considered a nonresident for Pennsylvania
state tax purposes if you were in Pennsylvania in 2001
solely to study as a full-time student.
You are usually considered a resident for Pennsylvania state
tax purposes only if you were in Pennsylvania more than 183
days in the calendar year for a purpose other than study and
you lived in housing that you leased for a period of 12 months.