The "frame" of an object is usually (represented by or pictured as) the coordinate system attached to the object.
Two objects share the same reference frame if they are stationary with respect to each other.
However - it is common in physics to mix up technical and non-technical uses.
If two people are in the bath, moving about, then we say they share a bath ... we can put the grid on the bath and , similarly, in a non-technical sense, talk about the two people sharing the bath coordinate system ... but, in the technical use: that is the frame of the bath, not the people. If one were stationary in the bath, then that one would share the frame of the bath as well as being in the frame of the bath.
When a physicist writes about something moving in a frame, that's usually what is meant.
There are a lot of references about reference frames ... having trouble finding any that spell out when two objects share a frame.