How do you allocate taxable federal refunds when you have lived in two different states?

Received a AZ refund last year when I lived in AZ and ND; Turbo tax is asking how much of that should be attributed to each state. How do I manage that?