Hi Tam,
I don't know the circumstances here but I would say they if you live there and your ex doesn't and he enters and you tell him to leave but he doesn't, he is a trespasser. Then you could contact the Police to remove him forcibly. Possession, ownership and occupation are related concepts but different too. And Good luck.