18 U.S. Code ยง 2383 Does not mention the armed forces of United States
Department of Defense Law of War Manual
11.2 WHEN MILITARY OCCUPATION LAW APPLIES
Not once in the chapter you cite, is there any reference to being applicable within the United States