The Sonoran Desert spans the southwestern United States and northwestern Mexico. It covers large parts of Arizona and California in the U.S., while in Mexico it extends primarily into the state of Sonora (with smaller portions in Baja California and Baja California Sur).
So, if you're asked whether it's in northern or southern Mexico, the accurate answer is: it's in northwestern Mexico, primarily the state of Sonora.