It's technically possible to store heat for several months, e.g. in a large water tank, and use that heat over the winter. Only really feasible for very thermally efficient houses, but it can be done:
https://en.wikipedia.org/wiki/Seasonal_thermal_energy_storag...