However, you might be asking about the time it takes for the Earth to move through the constellation Virgo. The Earth takes roughly 45 days to pass through the constellation Virgo.
It's important to remember that constellations are just groupings of stars that appear close together from our perspective on Earth. They don't actually form a physical grouping in space.