Technically it is a valid defense, but it might be difficult to prove. The act of taking someone else’s property raised the presumption that you did so intentionally, which reverses the burden of proof onto you. Your defense would be that, due to your intoxication, you had no criminal intent.