Answer this writ, stating the authority under which you restrain the prisoner. Exercise custody over the minor child.The court explained that a party filing a federal habeas corpus petition must exhaust their state court remedies prior to filing the petition. What Can a Michigan Writ of Habeas Corpus Do? A writ of habeas corpus is a summons that carries the same force as a court order, and requires prison officials to bring a prisoner before the court. This article explains what a Michigan trial attorney must do to preserve issues for a writ of habeas corpus in federal court. To get a writ of habeas corpus, you must file a petition for a civil (not criminal) proceeding in either state or federal court. This petition, called a writ of Habeas Corpus, is filed in Federal Court (US District Court ) whether you are serving time in a federal or state prison. As an incarcerated person. I am trying to file a writ of habeas corpus for my brother that is incarcerated in wayne county jail.