Rabies virus can stay on surfaces for a few days or possibly weeks. The length of time varies depending on the environment and the type of surface that you are dealing with, however it is highly unlikely to survive longer than 2-3 months in soil.