In the state income tax return, you are given the option to select full-year resident / part-year resident / nonresident taxpayer.
In TurboTax Online, select My Info. There you are given the choice to report your Resident state or states and Other state income.