Include all of your grounds for relief and all of the facts that support each ground for relief in this petition. Unlike a direct appeal, there is no deadline for filing a writ in state court.You do not need to give notice within thirty days of your sentence. Our negotiations and settlements experience can significantly impact your case. Call our Houston writs of habeas corpus attorneys at 936-647-1540. An application for a Writ of Habeas Corpus is filed when a person seeks relief from unlawful detention or imprisonment. If your Texas appeal and 11.07 writ fail your next step is to pursue a 2254 petition for a writ of habeas corpus in the federal court. Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. If the application is filed prior to disposition of the case, it is filed in the assigned District Court or County Criminal Court at Law. They can file a petition called a habeas corpus petition in a federal court, asking for a review of their case.