State tax filing

I am using the software. This is the first screen on the State Taxes tab:CALI01.png

Then it asks me Period of California Residency Before 2020. The From field is giving me the biggest grief. 

CALI02.png

 

I also am wondering what date my residency ended?

Facts:
I started my lease in Michigan on 5/15/2020. But I continued to keep my lease open in California until July (I could not break my lease agreement. But I was fully living and working in Michigan).

Soon after my move-in date I updated my driver's license to Michigan as well as my vehicle. I also updated my info with my employer.

As you can see, I'm unsure what dates I should put for both 😕 Thank you for whatever help you can give.