Please Un-assign the Flat from their record.
To do so:
Step 1: Go to Admin >> Staff Manager >> Active.
Step 2: Please click on "More Details" against the relevant Staff. You will see a "Remove From Flat" option.