IN THE NAME OF THE PEOPLE OF THE STATE OF MICHIGAN: TO: , the agency or person having custody of. Name. In Michigan, habeas corpus is a civil proceeding, rather than criminal.A habeas corpus may be obtained through a motion in a pending civil action. The court explained that a party filing a federal habeas corpus petition must exhaust their state court remedies prior to filing the petition. (1) An action for habeas corpus to inquire into the cause of detention of a person may be brought in any court of record except the probate court. You may be eligible to file a petition for a writ of habeas corpus in federal court after exhausting your Michigan state court appeals. What is a Writ of Habeas Corpus? A Habeas Corpus Petition must be filed in federal court within one (1) year and 90 days after the Michigan Supreme Court's ruling (465 days). For example, a person who believes they are being unlawfully detained in prison can file a petition for habeas corpus. What Is a Writ of Habeas Corpus?