It is a really stupid rule. It causes terrible stress all round.
But if it's a choice between that and homelessness - you have to do it.
I've been there. It is awful.
And it isn't always as simple as finding somewhere to live.
When we lost the home we owned (the business we had at the time went under and we lost everything) we couldn't find a private rented to touch us! And we looked everywhere! We were living down south at the time and we applied for private rents in such places as norfolk, suffolk, lincolnshire and derbyshire! Anywhere! Everywhere! nobody would touch us. Credit score, you see. Our business going under, us losing everything = don't touch us with a bargepole.
Finally we found somewhere where they didn't do scoring. They said they wanted long term tenants. We paid on time, every month, were model tenants. Less than a year later they decided they wanted the house back.
There we were again, nobody would touch us with a bargepole. We again looked at anything, anywhere. We also went to the council who told us that if we moved out before being physically evicted - they wouldn't help us because we would have made ourselves intentionally homeless!
We were looking at foster care for the kids when the business went under! We were that close to being on the streets! When we got the private rent and they then wanted that back, we got taken onto the council list, but they had nothing and insisted we stayed put. Or they wouldn't help! We were offered something eventually 10 miles from where we had been. We took it. Gratefully.
It isn't as easy, always, as rent somewhere else and go.