The answer depends on whether you mean the fictional timeline or the real-world year 2007.
During the summer before his fifth year (1995), Harry resides at 12 Grimmauld Place, London—Order of the Phoenix headquarters—where he stays after Order of the Phoenix to train for the final showdown with Voldemort.
Actor Daniel Radcliffe was filming Harry Potter and the Half-Blood Prince (released 2009) and preparing for the final two films. The Deathly Hallows book also launched that year.