Essentially, as soon as you have signed a contract to join a nation's armed forced as a combatant, you are one and can be fought as such. Generally speaking you can be engaged in all contexts unless you are actively doing three things: surrendering, bailing out of a plane using a parachute as an emergency(not dropping as part of a paratrooper assault) or if you are in the process of being rescued from a shipwreck.