There is no filing fee associated with this filing. R WHERE TO FILE: The petition is filed first in the superior court where you were sentenced.The Writ of Habeas Corpus protects prison inmates from false imprisonment to ensure people are not thrown into jail unlawfully. A writ of habeas corpus petition is a tool that individuals convicted of criminal offenses in California can use to challenge their imprisonment. A federal writ of habeas corpusmust be filed within one year and 90 days after losing a case in the California Supreme Court. In criminal law, the term "post-conviction" refers to the legal process that takes place after a defendant is convicted of a criminal offense at trial. 405 B STREET, SUITE 900, SAN DIEGO, CA 92101, FAX: (858) 999-8936. On April 27, 2006, Petitioner filed a petition for writ of habeas corpus in San Diego County Superior Court. 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. San Diego County Office of the Public Defender.