To use this form, you must be a person who is currently serving a sentence under a judgment against you in a state court. To carry out, complete or dispose of according to law.Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. The writ of habeas corpus gives you the chance to challenge the consequences, restraints, and results of your case. Child; bringing before court; writ of habeas corpus. 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. The law in the area is an intricate weave of statute and case law.