To see the virtual image of an object formed in the lens, the object and the observer should be:
on the different sides of the lens
Lenses are made up of glass, which is a transparent material and hence light is able to pass through it. So a virtual image can be seen only if the observer is on the other side of the lens with respect to the object.