Yes, for "unearned" income such as you mention (retirement distributions, interest, and/or dividend income), allocate it to the state you were a resident of when you received it.
See more information and examples in the FAQ below related to allocating income between two states:
https://ttlc.intuit.com/replies/4777389