To get a writ of habeas corpus, you must file a petition for a civil (not criminal) proceeding in either state or federal court. Where the habeas corpus petitions arise out of state convictions obtained in the counties of.You should use this form if. Court Description: MEMORANDUM AND OPINION. The person served with the writ, whether named in the writ or not, is required to make a return to the writ. D.N.Y. 1982) (federal habeas corpus is not to be converted "into a pretrial motion forum for state prisoners") (citation omitted). The person served with the writ, whether named in the writ or not, is required to make a return to the writ. Dismissal in a habeas corpus action is not a strike. Before making a substantive determination in this habeas corpus proceeding, the court will initially deal with a procedural point. 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.