Do I have to file taxes in Michigan as a resident even though I lived and worked entirely in Maryland for 2018? should I file resident or non-resident taxes in Maryland?

I am a Michigan resident who lived and worked in Maryland all of 2018. I have been living in Maryland since January 1st, 2018, and I have been working in Maryland where I receive a taxable stipend/scholarship payment from a educational institution in Maryland. I have been paying estimated quarterly federal and Maryland tax payments for all of 2018. Do I have to file taxes in Michigan even though I did not live there or work there in 2018? I did received a W2 for $40 worth of wages earned in Michigan for the tax year of 2018 though.

should I file resident or non-resident taxes in Maryland? 

Thank you for your help