That is not correct.
You should read the Federal Tax Code of Mexico, especially Art. 9 (I)(a) Código Fiscal de la Federación (CFF).
Individuals are Mexican tax resident if they have a home in Mexico. If an individual has also a home in another country, it's depending where the vital interests...