An authoritative and practical 2-volume treatise with practical advice and expert analysis from practitioners and subject matter experts. First, a U.S.C. § 2254 allows us to file a petition for Habeas Corpus when the client is in custody under sentence of a state court and is in a state prison.Liebman, Federal Habeas Corpus Practice and Procedure (7th ed. 2015) 10th floor - KF9011 . To get a writ of habeas corpus, you must file a petition for a civil (not criminal) proceeding in either state or federal court. Winning a case on federal habeas is much like building a house: A foundation must be laid before the structure can be erected. A Writ of Habeas Corpus is a civil proceeding that is available in both State and Federal Court to challenge the legality of imprisonment. This petition for certiorari asks this Court, consistent with its longstanding. AEDPA jurisprudence, to reject the Sixth Circuit Court of Appeals' pro forma,. Next, we outline the State's possible defenses.