Well there's a bunch of factors. Energy distribution is not free or perfectly efficient. You are also doubling the footprint of the house+solar and land (nor it's ecological impact) are free.
Additional solar power absorbs sunlight and produces electricity. One benefit is that the house under it is cooler and needs less air conditioning as a result.
Also balancing the energy infrastructure for a state/country with significant solar/wind sources adds significant new complexity for the power grid. It's definitely most efficient to keep your homes power use off the grid as much as possible.
Additionally at least in California peak power use is air conditioning related and follows a power use curve pretty similar to solar production. So the hottest days/times have the most power generation (there's some lag). This allows the state to minimize power production only for those worst case days in late summer, which is the most expensive (power, cost, and environmental impact) power plant.
Power plants can be quite efficient if utilized 100%, but the difference between minimum power and maximum power needs can create huge inefficiencies where solar can help.
I'd also argue that adding distributed power use makes the grid overall much more robust. Earthquakes, major storms, attacks against infrastructure, etc are all less of an issue if a decent fraction of houses produce most of the power you need.