They need to be retired for at least 10 years. Federal law, though I cannot quote chapter and verse.
They don't understand posse comitatus, and they surely don't understand civilian rule of our military.
G-d help America.