Here are Utah's rules regarding taxation of military pay:
Utah treats military pay the same as the IRS. All income included in federal adjusted gross income is automatically included in Utah income. Income that is exempt from federal taxation is also exempt for Utah purposes.
All of a Utah resident’s income is taxable in Utah. A Utah resident’s active duty military pay is only taxable in Utah.
You can find more details here: https://tax.utah.gov/forms/pubs/pub-57.pdf
Since you lived in Utah all year, for tax purposes you are a Utah resident.
**Answers are correct to the best of my ability but do not constitute tax or legal advice.