Yes, you can absolutely split your 90-day stay in Spain (and the wider Schengen Area), provided you adhere to the 90/180-day rule. This rule states that non-EU citizens who do not require a visa (such as Americans, Canadians, and British citizens) can stay for a cumulative total of 90 days within any "rolling" 180-day window. You do not have to use these 90 days consecutively; you could, for example, spend 30 days in Spain, return home for a month, and then go back for another 60 days. The "rolling" part of the rule means that at any point you are in Spain, you look back at the previous 180 days and count how many days you have spent in the Schengen zone. If that number is 90 or fewer, you are legal. It is vital to remember that the 180-day clock doesn't reset when you leave; it is always counting backward from the current date. To avoid accidental overstays, which can result in heavy fines or entry bans, many travelers use a "Schengen Calculator" app to track their entry and exit stamps. If you plan to stay longer than 90 days in a single block, you would instead need to apply for a specific long-stay national visa, such as a Digital Nomad or Non-Lucrative Visa.