Historically, graves were leased for a period of time, and when the family couldn't pay, the bodies were disinterred and stored in a chapel or another mass grave. It's not common in this day and age, but I would imagine the same concept applies if that were to happen now.