David, you don't say what your nationality is. It would be useful if you filled that in on your profile.
If you are not an EU or Schengen Area citizen, you will, as Laura says, require a visa to stay more than 90 days in the Schengen Area (which includes Spain). Depending on your nationality you may need a visa even for those first 90 days.
Are you planning to work in Spain, or just live on money you already have? If you are planing to work (including working remotely and being paid from your home country), then you need a working visa, and you need that from day 1. The "90 days in 180" allowance is only for tourists, that is people who survive on money they bring in from outside and do not work.
Getting a visa will not be easy, you need to contact your local Spanish Embassy. Getting a work visa is even more difficult, you usually need to get a job first, and the employer has to prove he couldn't get a local to do the job.
You also need to consider health insurance, including for your daughter.
And, if you become a legal resident, you home Driving Licence will no longer be valid and you have to pass a Spanish driving test.
As for finding places to live, where in Spain are you planning to live? It is a big country. It would be best to make a pre-visit as a tourist and research what is available.