Take a contractible $3$-manifold which is not homeomorphic to $\mathbb R^3$ -- like the Whitehead manifold. If such a Morse function existed on the Whitehead manifold, it would be a Morse function with only one critical point, the minimum, and therefore the Whitehead manifold would be an open 3-ball. edit: Well, I guess there's the special case to consider that the Morse function could have no critical points but then you could deal with this by the argument that the Whitehead manifold isn't a product of a surface and $\mathbb R$, which by the classification of surfaces amounts to saying that the Whitehead manifold isn't homeo/diffeomorphic to $\mathbb R^3$. Welcome to MO, Victor!