Sex during pregnancy

Is it safe for the husband to cum in you during pregnancy? I sincerely want to know