Retirement tax questions

Thank you. So the do I end up paying Utah income tax on my income for the entire year even though I was only there half the year.