Again, IANAL
I don't believe, even if you get an order to that effect that you will be allowed to peacefully occupy a property that your former partner views as 'his'.
Court orders are all fine and well - he will still have the ability to make your life a misery.
Yes, the law should, and generally will (eventually) issue orders, arrests, fines yada, yada. But the mills of justice grind exceedingly slow and frequently grind you down as well.
My advice is much the same; get yourself financially independent.
Get a lump sum settlement, work full time for a year so you can get a mortgage, buy a house, and kick him out of your life.
Of course you should, and will, facilitate him seeing and building a relationship with his child.
But he will no longer control you.
You will be in charge of your own life.