A model for the distribution of material generating the soft X-ray background