Military airspace (typically Class C or D) is generally not off-limits to civilian pilots and does not require special training or endorsements, unless specific temporary flight restrictions (TFRs) or ...
It's just a matter of understanding the rules and ATC requirements for transitioning through the controlled corridor during training.