Sure, all the solar power for the US could come from Australia.
Meanwhile, when planning and streamlining infrastructure for cities and large urban centres some do look to guidelines such as minimising transportation (food into cities, refuse out, etc) and transmission line costs.
Food production has water, sunlight, fertiliser etc. requirements, energy generation (solar, wind, coal, oil, gas) similarly has geolocation (sunlight for solar, temperature differentials for wind, mine / port access for solid fuels, pipelines and tanks for gas) requirements.
Urban planners also look to stability of supplies and robustness of systems (if X fails, what do we fall back on).
These are the manner of things that can put dual use demands on various parts of the ring about large urban areas.