That seems like one of those "there's no rule about a dog playing basketball" Air Bud things - unless you can cite a specific law, I don't believe it's actually on the books as being illegal. Also not something I'd recommend, but I'd be very surprised to see a law specifically banning it.
It's illegal to drive without a license, but your license doesn't automatically get suspended/canceled when you die - a loved one has to do the legwork to cancel it. So probably technically legal until a court case involving someone declared legally dead who's just driving around somewhere?
What are they gonna do if they catch me - put me away for life?