The rules are indeed the same whether the agreement is month-to-month or for a fixed term.
Unless there is a clear agreement to terminate between the parties, the tenant should give at least 60 days’ written notice (usually on an N9 form), whereas the landlord may only give notice if they have a reason allowed by the Act, and the reason used would then determine the number of days’ notice that the tenant must be given.
Temporary agreements to move out and return must be arranged by the parties themselves.