The correct reason for the expression, "The sun never set on the Spanish empire," is:
The Spanish empire was so large that the sun was shining on it for at least one part of the day.
This phrase emphasizes the vastness of the empire, which spanned multiple continents and time zones.