Thank you for your question.
The minimum amount of notice required prior to a landlord filing an eviction actiong with the courts in Michigan is 7 days. The only exception is if a person is on property illegally (e.g., squatting) in which case, no notice is required. A 24 hour notice to vacate is not proper.
Furthermore, even in cases where proper notice to quit is given, a person does not have to leave by that date. They still have time to negotiate or try to resolve the issue. If the person does not leave by the time of the notice, then a landlord must file for an eviction and seek a court order to remove a tenant. They cannot use "self help", e.g., change the locks, turn off utilities, etc. to try to force a tenant out.
You may want to show your friend this link
from Michigan Legal Aid which explains eviction and the eviction process.
If his landlord tries to file for an eviction after 24 hours, I think your friend has an argument that he was not given proper 7 day notice prior to the eviction action being filed.