The Honourable Superior Court of Justice provides an overview of the factors that are at play when dealing with the issue of exclusive possession of the matrimonial home. Below is a link for the same:
https://www.canlii.org/en/on/onsc/doc/2016/2016canlii70360/2016canlii70360.html