Unemployment income from another state

I am a resident of AZ and received unemployment income from IL in 2020. Can I declare the income on my AZ return which is a lower rate or have to file IL return? If IL do I get a credit on AZ taxes?