That depends entirely on your training methodology. If it works in the dojo it will work outside it, provided the environment and conditions are exactly the same. By which I mean, if you are practicing against non-resisting opponents in the dojo, your techniques will work against non-resisting opponents in the street. If you are practicing against resisting opponents in the dojo, your techniques will work against resisting opponents in the street. There is nothing special about the dojo. The laws of physics are the same. Human anatomy is the same. If you are only training to fight on large, flat, open surfaces, then your techniques will work exactly the same on large, flat, open surfaces outside the dojo as in. Sure, the environment may be different, the stakes may be higher, you're probably at a distinct disadvantage, you or the other guy may be chemically impaired, and there's no tapping out. But in my admittedly limited "real world" combat experience things worked EXACTLY like they did in the dojo. If it works, it works. If it doesn't work, practice something that works. If you've never tried working it under stress, then it probably won't work under stress. But that isn't because you are in or out of the dojo. It's because you have failed to practice your material in a realistic fashion.
-Rob