In this paper we investigate the entanglement dynamics between two two-level atoms interacting with two coherent fields in two spatially separated cavities which are filled with a Kerr-like medium. We examine the effect of nonlinear medium on the dynamical properties of entanglement and atomic occupation probabilities in the case of even and odd deformed coherent states. The results show that the deformed fields play important roles in the evolution of entanglement. Also, the results demonstrate that entanglement sudden death, sudden birth and long-distance can be controlled by the deformation and nonlinear parameters.