"Keeping a bawdy house" is an offence under section 210 of the Criminal Code (which applies everywhere in Canada):
210. (1) Every one who keeps a common bawdy-house is guilty of an indictable offence and liable to imprisonment for a term not exceeding two years.
(2) Every one who
(a) is an inmate of a common bawdy-house,
(b) is found, without lawful excuse, in a common bawdy-house, or
(c) as owner, landlord, lessor, tenant, occupier, agent or otherwise having charge or control of any place, knowingly permits the place or any part thereof to be let or used for the purposes of a common bawdy-house,
A "common bawdy house" is defined in the Copde as a place that is:
(a) kept or occupied, or
(b) resorted to by one or more persons
for the purpose of prostitution or the practice of acts of indecency;
Generally, the Crown has to prove that the place was "habitually" used for prostitution. How "habitual" is interpreted may vary from case to case, and place to place.