Yes, a pregnant guinea pig needs somewhere to hide. Guinea pigs are prey animals and feel safer when they have a place to retreat. This is especially true during pregnancy, when they are more vulnerable. There should always be a suitably sized hide box for your pregnant guinea pig to use whenever it wants to.