That depends on what perspective you're going for and what your definition of better is.
Personally, I think that it's better for students to only have two months off so then students won't forget about the stuff they study and so then they can hopefully learn more things throughout the school year. Also around the two month mark, summer gets kinda boring because for the general population, there really isn't all that much to do.