This is taken directly from the Virginia Department of Health website.
"The legal next of kin should contact a funeral home or crematorium as soon as he or she learns of the death to make final arrangements and sign a written release giving the medical examiners office permission to release the body to the funeral home.
Once the examination/investigation has been completed, the body will be released to the funeral home and arrangements can continue. In most cases the remains can be released within 24-48 hours of admittance unless there are extenuating circumstances, such as issues of identification."
"
Death certificates are deemed to be pending when laboratory studies or investigations are needed to determine the cause and manner of death. Unfortunately, a time frame for when a specific case will be completed cannot be established. The circumstances of cases differ and each case is handled independently. Depending on circumstances, some cases can take more than 12 weeks to complete."
The full FAQ can be found
here