It refers to the same thing as the first "it", which I would say is somewhere between a reference to "living with Jane" and a dummy or "situational" "it".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.