There is a difference between illegal orders, improper orders, unwise orders and orders I don’t like.
Nobody in gov should make statements that do not make these distinctions.
As a matter of fact if your making such a claim you might want to opt for a bench trial. A military judge might be more willing to fairly consider such a claim than would a jury.