TurboTax will ask you in the Pennsylvania state section. As a nonresident, you may apportion income earned within and outside PA. Part-year residents are subject to PA personal income tax on all income earned, received and realized from all sources when residents of PA. Part-year residents are also subject to PA tax on income earned, received and realized from sources within PA when they were not a PA residents.