How do I become a Michigan resident?

Residency means different things for different purposes. Some examples are: