Unless the offense with which the prisoner is charged is shown to be an offense punishable by life imprisonment under the laws of the state in which it was committed, any judge, magistrate or other person authorized by law to admit persons to bail in the Commonwealth may admit the person arrested to bail by bond, with sufficient sureties, and in such sum as he deems proper, conditioned upon his appearance before a judge at a time specified in such bond and upon his surrender for arrest upon the warrant of the Governor of the Commonwealth.
Va. Code § 19.2-102