AIUI it's 10 years to get an EU - sorry, Latvian - passport and for an individual year to count towards that you need 183+ days a year in Latvia
The point is getting a residence permit in EU country is step 1, and step 1 is accessible to fairly average white collar US worker who wants to move to the EU.