If your a male above the age of 18 legally living in the USA you have to register with selective service. Now all that means is in the unlikely event that there is a draft (aka the USA gets in a big big war) you have a very slight chance of getting picked to join at which point you would have to serve in the military for certain amount of time.