No he cannot marry the wife immediately after the talaq.