I do not have any problems spending nights at the workplace provided there is a comfortable bed and plenty of food and drinks. However, if I am required to live at work, I would be doing extra work and I would require additional payment.
I don't have any problems doing it either if where I'm going to sleep is well taken care of. We've had an emergency at work which made me sleep over for 2 days. I managed myself well during those 2 days. I was paid 40% extra on what I was paid.