The literal meaning is 'sleeping', as opposed to active. A virus can lie or be dormant in your body in an inactive state. A dormant volcano is quiet, not ejecting material from within. A law or provision is dormant if it has ceased to be applied or enforced. Something which is (lying) dormant can be activated or reactivated, so it is not dead or, in the case of a volcano, extinct.