A virtual office will not let you qualify to get an EU VAT number. You will not be registered in the VIES as a taxable person. In other words, if you intend to buy or sell in other EU countries, the Spanish Tax Office require that you have a physical office with at least one employee (or the Director of the company).
Calle Ruiz Zorrilla 1, 3º
12001 Castellon Spain
Calle Isabel la Católica 8, 1º
46004 Valencia
Spain
Paseo de la Castellana 40, 8ºº
28046 Madrid
Spain