The members of these companies, and the fire companies of any incorporated town or city are exempt from military duty in time of peace.