Understanding how to sleep with piriformis syndrome can help you ease pain and get a good night's rest. The key to sleeping better if you have piriformis syndrome is supporting your spine and hips.