The phrasing "life is a stage and you are all actors in it" is a common paraphrase of Shakespeare's actual line:
"All the world's a stage, and all the men and women merely players"
— William Shakespeare, As You Like It, Act 2, Scene 7 (Jaques)
The paraphrase makes the metaphor immediate and inclusive—addressing the listener directly. Shakespeare's version is philosophical and observational—describing the human condition from above. Both work; they serve different rhetorical purposes.
Neither appears in Shakespeare outside this speech. The paraphrase is cultural shorthand, not a separate quote.