Here is a well known counterexample.
Edit: Oh, sorry, a disjoint union of spheres is allowed. I misread the question.