Well they had to do something in the narrative of the story to explain why Finn is no longer around. They didn't necessarily have to kill him off, but I think they did that primarily so the cast could work through their grief on camera. IMO, he didn't fit on the show anymore anyway (not in Glee club, not in the NYC…