In a situation such as the one you describe, many states have laws that would prohibit contact between the parent and the child. Moreover, as another poster mentioned, it is likely a basis to terminate the father's parental rights (after the child is born).