If they like their current house they'll work hard to pay for it.
If they can't find a job or don't like their current home that much they can use their UBI to move and make room for a more productive citizen to move into the city. This makes the allocation of housing more efficient.