Contact an award-winning Writ of Habeas Corpus lawyer today. Where do I file a notice of appeal?Where do I file a post-judgment motion? 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. To get a writ of habeas corpus, you must file a petition for a civil (not criminal) proceeding in either state or federal court. Any defendant who has been convicted of a New York state crime in a proceeding should be aware of their right to file a petition for a Writ of Habeas Corpus. A seasoned New York habeas corpus lawyer can guide and represent you in the filing and litigation of a motion for a writ of habeas corpus. A Writ of Habeas Corpus is a civil proceeding that is available in both State and Federal Court to challenge the legality of imprisonment. The "Great Writ" of habeas corpus is a fundamental right in the Constitution that protects against unlawful and indefinite imprisonment. There is No Fee for service of domestic violence process and accompanying papers; or, for writ of habeas corpus process.