Depends on a case by case basis. You'd need a desert, the South of Spain, Greece or Texas. Just like geothermal, it's very location specific, whereas one could deploy a nuclear reactor on the Moon or Mars.
Maybe a bit nitpicking, but solar would even work better on moon and mars due to the lack of atmosphere. But yes, here on earth it is very location specific.
photovoltaic no, molten salt yes
https://en.m.wikipedia.org/wiki/Crescent_Dunes_Solar_Energy_...
btw, driving by them at daytime is pretty weird... the collectors look literally like close-up stars floating above the surface