The distribution of the ISM in the Milky Way - A three-dimensional large-scale model