1. It refers to "to have the boys, and the bedroom where I used to tell the stories, so near me", in the sense that the meaning is "to have the boys, and the bedroom where I used to tell the stories, so near me, would be a kind of company". It is an anticipatory "it".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.