State tax

I was working in CA last year 2023 from Jan to July and have W2 income.

From Aug onwards, I retired and moved to Utah permanently.

 

I believe I will need to file CA tax as I have W2 income while working there.

What about Utah since I have no W2 income ?