Prior to the release or discharge of any prisoner who has been confined for at least 90 days and does not possess a government-issued identification card, birth certificate, and Social Security card, the sheriff, jail superintendent, or other jail administrator shall provide the assistance necessary for such prisoner to apply for and obtain such identification and documents prior to his release or discharge, provided that the sheriff, superintendent, or administrator has or can readily obtain all records and information necessary for their issuance and the prisoner has not declined an offer by the sheriff, superintendent, or administrator to provide such assistance. If the sheriff, jail superintendent, or other jail administrator receives a government-issued identification card, birth certificate, or Social Security card for a prisoner after his release or discharge, the sheriff, superintendent, or administrator shall make reasonable efforts to ensure that the prisoner obtains possession of such identification or document. The sheriff, jail superintendent, or other jail administrator may establish a procedure for securing such identification through the Department of Motor Vehicles. Unless the prisoner has funds in his account to cover all or part of the costs and fees associated with applying for and obtaining any identification or documents pursuant to this section, such costs shall be paid by the jail.
Va. Code § 53.1-116.1:02