Answer:
If the marriage is deemed, for some reason, not to have been a legitimate marriage, then it really doesn't matter how long you have pretended to be married; it can be annulled. But there does have to be a reason for it, you can't just annul it because you have decided that you don't get along with your wife. If there are children, forget it, there will be no annulment.