That depends, are we talking about the actual country and the people therin, or just the semi-propaganda, "he died in service of his country," thing you tell the families of people who get blown up in, say, the course of a routine food drop in Afghanistan?
If it's the latter, kiss my leather starfish. Otherwise, yeah, definitely. If I knew my death would save the country (and most importantly all the people therin) then you're damn right. I'd jump in front of that bullet, crash my plane into that spaceship, or ride that rocket down cowboy-style.