After Brexit, all British citizens are required to ensure they've proper documentation to legally live in Spain as a resident: Get your residence permit or Tarjeta de identidad de extranjero (TIE) within 30 days of your arrival. Get your NIE number, your foreigner tax identification number.