If you must bury it, get a buriable version from any pump or most plumbing supply house and bury it. Putting it in a garbage can isn't going to make it last longer, just harder to fix when it doesn't work.
If this is a new construction design, dont forget to leave space for the water treatment equipment somewhere out there in your future... like a week after moving in.