I always left winter squashes until frost killed the leaves, too. I think as long as the plant has green leaves, and the sun is shining they are making sugar for the fruit as well as energy for the plant.
As Dave said, though, the brown stem usually means the plant is ready to let that fruit fall. On the other hand, you do sometimes see squash for sale with green stems and they taste fine.