After killing another player, corpse camping is where that player then continues to camp at the enemy's corpse (either by using or other means) and kills them when the player resurrects themselves. Although this is frustrating to the camped player, this is not considered griefing by Blizzard and is not subject to punishment by Game Masters.
Waiting for players to resurrect at a graveyard while flagged as PvP is also considered corpse camping, even thought there technically may be no corpse.
Corpse camping tactics
A person being camped will be cautious about resurrecting and will check around to see if you are gone or try to find some terrain feature that will prevent you from seeing where they are right away, allowing them time to escape. Rogues and Druids can simply Stealth/Prowl and become difficult to check for, and Hunters and Shamans may use Eagle Eye/Far Sight to monitor an area which they are camping from afar.
Don't forget to keep an eye out behind trees and buildings. For places where the terrain easily allows a person who is being corpse camped to hide immediately after resurrecting, spamming the following macro will help; immediately marking them with a Star if they resurrect and are within targetting range, allowing you to locate them easily:
/tar <person you are camping> /script SetRaidTarget("target",1)