The Verdict: Not eligible
As an EU, EEA or Swiss citizen you can already live and work remotely in Spain, so you do not need this visa. If you stay more than three months, register at the Central Register of Foreign Nationals to get your NIE certificate.
Also register on the padrón at your town hall, which banks and local services ask for.
The questions worth your time are tax and social security. Spanish tax residence generally brings your worldwide income into Spanish tax, and where your social security is paid depends on EU coordination rules and how your work is structured. Settle both before you move.
For citizenship, most EU nationals need ten years of legal residence in Spain. Portuguese nationals need two, as do nationals of Latin American countries, Andorra, the Philippines and Equatorial Guinea.