Normally when a snake goes "belly up" they are a gravid female. However in that picture it looks like its dead.
Snake can also do weird things, every one of them has an individual personality, maybe it likes being belly up?
I forgot to add, when a female that is gravid goes belly up, it doesnt look like that. They keep their head normal not also the wrong way up.