A habeas corpus petition attacking a criminal conviction or sentence shall be filed within two years from the date of final judgment in the trial court. Under Virginia law, habeas corpus is a civil proceeding used to challenge and remedy due process violations.The Writ of Habeas Corpus protects prison inmates from false imprisonment to ensure people are not thrown into jail unlawfully. A petition for writ of habeas corpus is a legal action that allows individuals to challenge their unlawful imprisonment or restraint. The writ of habeas corpus primarily acts as a writ of inquiry, issued to test the reasons or grounds for restraint and detention. The "Great Writ" of habeas corpus is a fundamental right in the Constitution that protects against unlawful and indefinite imprisonment. It tests the legality of a detention or a restraint and the goal is to use it really almost i guess it's an emergency basis. An "Uncontested" divorce is filed on no fault grounds and none of the above issues are in dispute. The U.S. Marshals Service was the first federal law enforcement agency in the United States, enforcing the federal courts. The U.S. Marshals Service was the first federal law enforcement agency in the United States, enforcing the federal courts.