No series titled "Home for Imaginary Friends" exists. You're almost certainly thinking of Foster's Home for Imaginary Friends, the beloved Cartoon Network series created by Craig McCracken (2004–2009).
The final episode, "Goodbye to Bloo", aired May 7, 2009. It wraps the story of Mac, Bloo, and the Foster's residents with characteristic heart and humor.
Provide any other details — network, year, characters, animation style, live-action vs. animated — and we'll identify the correct show.