You are not responsible if:1) You can prove the child is not yours, such as by DNA testing; and also2) You do not accept or treat the child as yours, since if you are still married (and if your divorce is not done, you are) and treat your wife's child as yours (or acknowledge as yours, etc.), the law presumes it is yours and that are responsible for it.