Starfleet Officers have a Nasty habit of hanging around for decades though. James Kirk entered Starfleet Acadamy in 2252. He left Starfleet in 2293 (Via an accident). And his length of service is not unusual it is the norm for Officers that make Captain or Admiral rank. So they would still be there.