Habeas Corpus, in the Federal Court, is a petition that claims that you are being detained against your US constitutional rights. A Writ of Habeas Corpus is a civil proceeding that is available in both State and Federal Court to challenge the legality of imprisonment.Translated from Latin it means "show me the body. A writ of habeas corpus requires that a person who is in custody be brought before a judge or court and that they be able to challenge that custody. 248, §1 allows an imprisoned or restrained person to "prosecute a writ of habeas corpus . . . To carry out, complete or dispose of according to law. Execution. Law § 570.16 (McKinney 2009), which required proof that petitioner either committed a crime in the demanding state or did acts in New York which would. LAW"). 3. Other ways of attacking your conviction include filing an appeal, or a state or federal writ of habeas corpus. A habeas corpus motion can allow you to defeat your criminal charges shortly after they are filed. 248, §1 allows an imprisoned or restrained person to "prosecute a writ of habeas corpus . . .