If by flat space you mean a flat Riemannian manifold, the answer is no. There are examples of both compact and non-compact Ricci flat manifolds that cannot be given flat Riemannian metrics.
One thing to note is that for compact manifolds,a flat Riemannian metric implies that the Euler characteristic is zero - because the Euler class can be expressed as a polynomial in the curvature 2 form. If you look around you will find Calabi -Yau manifolds with non-zero Euler characteristic.