The squirrels are trying to stay warm and dry during the winter. So once you trap them, their access holes will need to be blocked (the chewed window frames). Might try nailing hardware cloth (heavy metal mesh) with lots of overlap over the holes.

And are you sure there's just one? Hopefully your squirrel buddy doesn't have a wife and kids up there.