Yes, the location of the dwelling and the orientation of the solar panels are essential to maximize the performance of the solar self-consumption installation.
It must be taken into account that photovoltaic solar panels are more productive the more solar radiation they can capture. In general, it is recommended to place them facing south, since the panels generate more electricity if the sun’s rays hit the panel perpendicularly. If we want to obtain energy from the panels throughout the year we will place them with a similar inclination to the latitude, however, we must consider that the sun varies its height throughout the year.