What worked for me (elsewhere) was to mentally think of myself as a consultant, not employee. No loyalty either way. I had been there 5 years. I had an office, but this would apply to a cubicle too:
--did not keep anything in the office that I would regret others seeing or that I would not want to leave behind
--to get there, I slowly removed personal papers, souvenirs and memorabilia, favorite items like pencil cups and pictures. I did this slowly, a few papers or trinkets at a time.
--to avoid attracting attention with a str#pped out/bare wall workspace I brought in "new" items l was not attached to
--the different decor and lack of personal items in my desk helped me focus on the reality of the "relationship"
--I brought in a Safeway reusable shopping bag and kept it in my desk drawer
--when the axe fell 18 months later, I put my stuff in the shopping bag and walked out. Another petson they laid off that day went on to be CTO of a major social media company.
--it is not your fault
Best to you all.