Depersonalization and derealization are both common for people who are stressed out, have not been able to get good sleep as well as have a dx of anxiety and/or depression.
If you are experiencing these issues, please do look at talking with your Dr. and also at therapy.
Take care,
Kitt