Keeping your refrigerator in a cooler area in the kitchen is essential because any external source of heat will make the fridge work harder.
If you do have your fridge next to your oven, dishwasher or range, the heat created by those appliances will affect the energy consumption rate of the refrigerator.
A fridge next to a source of heat causes two major problems: First, your unit is using more energy because the motor will always be running. Lastly, your compressor will burn out sooner, as you are shortening its useful life. You should also avoid exposing it to direct sunlight. You can also keep your kitchen cool with open doors and ventilation.
Also, avoid storing items on top of your refrigerator or freezer, because any object will prevent heat to dissipate and pass freely over the top of the appliance.