Not that the TV show strictly follows the comic book series, but if the latter inspires the former - no matter how itsy bitsy such an inspiration may be - then Glenn's death should be necessary to complete Maggie's character progression, that of an innocent farm girl into a semi-reluctant leader of the community (actually, that community's neighbor) they might discover two seasons from now.