as long as the proper procedure is used to terminate your month to month lease and evict you, yes it is legal.
You have no greater hold on posessing the condo with a month to month tenancy as the LL does in removing you if you have a longer term lease.
It appears you have two options:
sign a new lease
prepare to move

