State tax filing

Should I file in Michigan only for the time I was living in Michigan, around 71/2 months(technically making me a resident of Michigan, lived 183 days or more),  or do I need to file in Michigan for Income I earned while living in Florida.  I did not live in Florida long enough to be considered a Resident. But it does not seem fair that I pay Michigan Taxes on money earned while living in Florida.  

 

What about Interest and Dividends, Do I pay to Michigan and Maryland based on the % of time I lived in each state, they were paid at multiple times throughout the year

 

Thanks