Injured people in the military can. Her term was being injured by cheap political attacks and filed complaints. She couldn't get anything done for the people of Alaska, so she did the honorable thing and resigned.
Military vs Civilian The military is always held to a higher standard you cant just quit, you cant cheat on your spouse, you cant disobey orders and cant disrespect your superiors.