Yes, unearned income, like interest and dividends, would be allocated to the state where one was living at the time the income was received. See more information below for allocating income between states for a part-year resident return.
https://ttlc.intuit.com/replies/4777389