Can I apply for two extended visas in the Schengen countries at the same time?

I am a US citizen who tried to stay in Europe for a year. I want to live either in Spain or Portugal. Can I submit an application to both countries at the same time in case one does not give me the extended visa? I'm not trying to get two visas. Just trying to cover my ass.