Hi, thank you for your question.
-Are/were you married to her?
-Is she pregnant with your child?
-What are her financial circumstances?
-What are your financial circumstances?
Thank you for confirming. Firstly she has no legal right to the property, however, as it is your child - if she is unable to secure her own independent accommodation she has a right to make an application to Court under the Children Act for you to provide her support in relation to housing for the benefit of the child, and this could include her attempting to remain in the property. Basically, once she is in the property it could become difficult to remove her from the property especially once the child is born.
I hope this assists you. If you found this information helpful please provide a positive rating using the stars at the top of this page. I will not be credited for answering your question without a positive rating. Thank you