You put a pillow between your legs when pregnant to maintain the natural alignment of your pelvis and hips. This will help to reduce pressure and strain on likely already inflamed joints and ligaments. They also help ensure a more comfortable, safer sleeping position for you and the baby.