Can an Ex-President run for political office after his term as President is over?

Yeah, so I must not have payed attention during Government class and I was just wondering? More then anything is, if President Clinton ran for the Senate in New York, would it be legal? No stupid answers please I really want to know.
Update: Please explain yourself. Or is it like when a Pro Athlete retires he becomes more of an ambassador to his trade?
12 answers 12