It is my understanding that Virginia requires incarceration for one year under a sentence of three or more years, before the incarceration is a basis for absolute divorce. Involuntary separation requires a wait of two or more years, so going to jail doesn't seem to shorten the one year waiting period for voluntary separation.

You might have difficulty getting the online activity into evidence, as it may be difficult to prove that he was responsible for that activity.