State tax filing

I'm confused by the responses. Would turbo tax generate a 760PY and 763? 760PY for income earned while a VA resident. 763 for income earned as a non resident. The part time allocation page is confusing. It asks to enter values earned as a part time resident, however portion of those values were earned as a nonresident.