Thomas Jefferson Was Opposed to Standing Armies

Can someone refuse military service in exchange for giving up voting privileges?