2D RPG graphics. Walking behind and in front of objects

So im currently working on an RPG that has the player and the currently walk in front if all objects. What would be the best way to add a depth of field so that the player can walk infront of an object if they are infront of it and behind it if they are behind. I was thinking that i could just print two images for each item and have the correct one displayed depending on the players position