Get your taxes done using TurboTax

If I lived most of the year in Alaska and them moved to Pennsylvania in the later part of the year am I required to file as a Pennsylvania resident?