Retirement tax questions

I own homes in Mexico and Turkey. I own no property or license in California. However I have a bank account in California as well as one in Mexico.

I spend approximately 6 weeks a year visiting family in California. The rest of the year I am in Mexico in my home.

 

what is minimum time spent in US to qualify as an expatriate?