Where to give birth

Can my obgyn be at one hospital but can i deliver at another hospital???? The hospital my office is at , is HORRIBLE. But my drs office is great!