There are many reasons why an individual may choose to live in Mexico and commute to the United States for daily employment.
It is possible to live in Mexico while working in the US.
American citizens are not allowed to live in Mexico if the work in the US.