That's perfectly legal as far as Montana is concerned. Virginia law is pretty specific about this however, and it's definitely not legal to keep a car here long term while it's registered elsewhere in order to avoid taxes. If you'd like to try a similar test of state law, light up a joint while strolling through Arlington. When you get arrested just show the cops your Oregon driver's license. They'll let you off the hook, guaranteed!