At the beginning of the movie Klaus, the narrator, Jasper, says:
Letters. You don't really write many these days, do you? But I bet there's one you never forget. Send it off to a certain plump guy in a red suit and, provided you’ve kept your act together more or less, he’ll drop off a toy or two. And yet, no one seems to wonder how the whole thing got started in the first place. This is a story about letters, and it began with this one.
When I googled to learn more about the phrase, I couldn't find anything. I got results like 'get your act together' or 'keep it together'. I think that 'keep it together' has the meaning that was intended by the phrase 'provided you've kept your act together' in the movie. So I am wondering if the phrase 'keep your act together' can ever be used.