You should use this form if. To get a writ of habeas corpus, you must file a petition for a civil (not criminal) proceeding in either state or federal court.These are the forms that Clerk's office provides for Circuit Civil cases. Attached as Appendix A is a blank form of petition. The petition should set forth the allegations in the matter in separate, numbered paragraphs.