Prime Minister Pedro Sanchez says the shelters will be in public buildings across the country.