Abusive relationship- can he get custody?

My partner is abusive and he wants to get shared or full custody of my baby if I leave him.

Is this possible?

If it is possible, I will stay in a relationship with him and continue living with him as I do not want to leave him to start a whole new life in order to protect me and the baby, just to get it all ripped away from me.