You can rest on your back for brief periods of time if you are a healthy, fit pregnant woman. Try to limit it to no more than 5-10 minutes at a time. If it's time to get up, your body will tell you. So listen to your body.