In the film, Farah Fawcett plays the character J.J. She has a scene where she sings a song with the lyrics "There are millions of homeless people in the world!" while on a hijacked plane.
The scene is a comedic moment and not a serious portrayal of homelessness.
Let me know if this is the movie you were thinking of!