This scenario can cause uncertainty in taxpayers and lead to the payment of fines and penalties.
The communication of the change of residence is an important procedure to be carried out by any person who moves to another country.
And, on the other hand, it is important to bear in mind that the fact of not being a tax resident in Spain does not imply that you do not have further tax obligation in Spain.