I think of it like this: around any collection of regions, regardless of how they are connected, we may draw an imaginary Gaussian Surface, say in the form of a sphere, and perform the surface integral over this surface. So I'd say it is true for any regions possible.