State tax filing

Thanks. I realized I may owe taxes after all, depending on whether I am classified as a resident or a part-year resident of California. 

 

I lived in California as a student, relocated to another state for 6 months due to COVID (during which time I earned income), before returning to California at the end of the year to continue as a student. Am I a resident? Do I need to pay taxes on the income I earned while I was out of state (non-California source)?