Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. If you were convicted in state court, Texas law requires that you notify the courts of your decision to appeal within 30 days.At this point you may either (1) petition the U.S. Supreme Court to request a writ of Certiorari (i.e. Mail the completed petition and one copy to the U. S. District Clerk. If you file a state post-conviction appeal, the one-year deadline will be extended while your case goes through the state post-conviction process. If there are no issues, the trial court will forward the file to the Court of Criminal Appeals. 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. The timeline of the 11.07 writ of habeas corpus application varies widely. The federal habeas corpus statute requires that the petitioner exhaust all avenues of relief open to him in the state courts before bringing a federal action.