No- but he was a career soldier, congressman and governor
He served as Secretary of War in Theodore Roosevelt's Cabinet.
John Adams
Andrew Johnson
Senator.
Dwight Eisenhower was the one.
Naval officer
Texas
it was because he was a senator in Illinois and then ran for president
Herbert Hoover was a mining engineer and very successful at it.
Andrew Jackson's last position before becoming U.S. President was U.S. Senator from Tennessee.
He lived in Illinois.
Postmaster and surveyer