Yes it is safe although you may notice stronger braxton Hicks contractions. the sperm causes this. If you go over your due date, having sex can bring on the labour in some people.