I think your rim width completely determines the narrowest tire you can safely use. You shouldn't try to use a tire that's narrower than the rim.
I don't think the width as such has much effect on flats, etc, though I suspect the narrower the tire the more likely you are to have one that has thin rubber which of course would affect flats.