The distribution of atomic hydrogen in the Galaxy