You should use this form if. The Habeas Corpus petition claims the arrest, sentence, or trial violated constitutional law, making imprisonment unlawful.Appendix B provides a checklist you can refer to when putting together your federal habeas corpus petition. It tests the legality of a detention or a restraint and the goal is to use it really almost i guess it's an emergency basis. This Chapter explains the writ of habeas corpus and lays out the procedures you will need to follow to petition for the writ. Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. ❖ Read this only if you need to file in a county in Washington State besides. King, Spokane, Clark, Cowlitz, Chelan, Klickitat, Pend Oreille, or. Any prisoner, or another person acting on their behalf, may petition the court, or a judge, for a writ of habeas corpus. To file a habeas corpus petition, you must prepare a written request to a court or judge, known as a writ of habeas corpus.