Ditching your work clothes for PJs might sound enticing, but it could impact your health in the long run. There was a time when the idea of working from bed wouldn't have crossed a worker's mind.