Doesn’t have to be. Those qualifications are meant to include military personnel and diplomats, not exclude others who have lived in the US 5 years.
Please read it again.
Here you go,
“with military and diplomatic service included in this time”
It reads as “with” and not “or”.
That means including or in addition.