US servicemembers: You have the right and duty to disobey illegal orders. But what exactly does that mean? How does that work?

Thanks to @TropicalDingDong