When is the underlying space of an orbifold a manifold?