Certainly not. Let $X= S^2\times S^1 \# S^2\times S^1$ the connected sum of two copie of $S^2\times S^1$. Its universal cover $M$ is simply connected, so satisfy your hypothesis, but has infinitely generated $H_2$, so has not the same homotopy type than a compact CW complex.