Yes it does.Originally Posted by Super Christ
"...AND THAT I WILL OBEY THE ORDERS OF THE PRESIDENT OF THE UNITED STATES AND THE ORDERS OF THE OFFICERS APPOINTED OVER ME, ACCORDING TO REGULATIONS AND THE UNIFORM CODE OF MILITARY JUSTICE..."
That means that if you're given an illegal order, you have the right not to follow it.