In Virginia, the court must take into account a number of factors in an award of alimony follows below:

20-107.1. Court may decree as to maintenance and support of spouses.

“…F. In contested cases in the circuit courts, any order granting, reserving or denying a request for spousal support shall be accompanied by written findings and conclusions of the court identifying the factors in subsection E which support the court's order. If the court awards periodic support for a defined duration, such findings shall identify the basis for the nature, amount and duration of the award and, if appropriate, a specification of the events and circumstances reasonably contemplated by the court which support the award."