How close can an oven be to a refrigerator?

Most appliances are very well insulated these days, however any heat from the oven will make the refrigerator work harder to maintain the right temperature. It's best to keep a cupboard or another appliance like maybe a dish washer between them. Ideally, they would be on different sides of the kitchen.