Yes. The line "There's the line lying in the gutter, but some of us are staring at the stars" is spoken by Bessie Burgess in Sean O'Casey's play The Plough and the Stars (first performed 1926).
The line captures the play's central tension: the gritty, tragic reality of the 1916 Easter Rising ("the gutter") versus the persistent human capacity for hope, idealism, and transcendence ("the stars"). Burgess—a pragmatic, working-class woman—delivers it with world-weary recognition of both truths.