I would recommend praying and fasting first. Not for guidence on a devorce but deliverence for your husband because he is bound by a demonic force that is very powerful and is controlling him and clouding his judgment all at the same time. Jesus said divorce is only for maritial unfaithfulness. I don't know the boundaries on that whether it is physically cheating on your spouse with another person or just pronography, but there is a fine line there. I would pray, start fasting, and seek Gods face diligently like you never have before. I have been praying more lately and the lord told me he wants his children to seek his face, not his hand, or blessings but his face. my response to that was "noone can look at your face and live". I felt the Lord reply "that is what I want" I have learned that when I do this, when I seek Gods face and read his word daily and fast from time to time looking for him that is when God starts to bless me and things start happening. God wants to heal your marriage and you are going to have to do your part to save it. You may have to war in the spirit to save it and it may not be easy but desperatly try to live in Gods word. One thing that came to me, I don't know how often he is on the porn sites, but when he is doing that, you need to be praying and seeking God. its not going to be easy but it will be worth it and could turn for a testimony. I believe you may have moved because God had his hand in it and postponed it. But fast, pray, read, and seek God's face and he will show himself faithful to you.