Yes, provided you have not been a tax resident in Spain during the 5 years prior to your return.