You are notified that the annexed writ of habeas corpus has been issued. I declare under penalty of perjury that the foregoing is true and correct and that this Petition for Writ of Habeas.Contact an award-winning Writ of Habeas Corpus lawyer today. Filling out the form. Fill out the attached form and answer each item completely in the space provided. The court explained that a party filing a federal habeas corpus petition must exhaust their state court remedies prior to filing the petition. To get a writ of habeas corpus, you must file a petition for a civil (not criminal) proceeding in either state or federal 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. 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. 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.