I was a California resident for a few years before completely moving out of the state at the end of Feb 2018. I moved to IL, where I lived until the end of June 2018. Then I moved abroad. I was working in California for those two months (Jan - Feb).
I'm currently filling out my CA state return, but when reviewing the non-resident/part year resident schedule 540NR, TurboTax automatically selected Nonresident for question 1 and I'm not sure how to change it. I assume I was a part year resident since I was there for 2 months of the year.
When I go to the Status of your state returns page, it says:
California - Nonresident
Illinois - Part-Year Resident
And in terms of the questions asked at the beginning of the California return:
Did you become a California resident during 2018? No
Did you become a California nonresident during 2018? Yes
Were you a California nonresident during all of 2018? No