If you have any kind of private yard, however small, I see no reason why you can't bury your snake. Even if a city ordinance forbids it, it is one of those who is really going to know or care kind of situations. I have always buried my pets because I like the idea of the remains of the dead going back into the earth to fuel new life. I just think that is really beautiful, and all of my lost pets (two cats, a dog, seven fish, various lizards, and a chameleon) have been buried in the yard at the house I grew up in.
So sorry for your loss. The thing with pets is for all the joy and love they give us, they inevitably break our hearts one day.Whatever you decide to do with your special boy, you will retain your memories of him and know that he lived a happy life with you with the best of care until the end.