Yes, you can be separated while living under the same roof in Ontario.  

As long as spouses live “separate and apart,” which means leading separate lives within the same household, they can be considered legally separated. Factors such as occupying separate bedrooms, managing finances independently, and no longer presenting as a couple to others are indicators of separation, even if both parties reside in the same home.