If I moved to a new state but didn't earn income in that state, do I need to file a 2nd state return? (DC to PA)

I lived and worked in DC for 7 months, then left my job and moved to PA for the remaining 5 months of 2018 (did not have W-2 income during the 5 months in PA).

Do I need to file in PA? I did have interest income during the 5 months. I was not expecting to, however in Turbo tax when I enter the fact that I moved to PA, I can't seem to get around filling out a PA tax form.

Follow up question- if I DO need to file in PA because of the interest income, do I need to separate the income by month so I only pay taxes in PA on the interest earned in the last 5 months of 2018 (and then only pay tax on the interest earned during the first 7 months for my DC taxes)?