Can someone claim you as a dependent even though they didn't financially provide for any of your needs. ?You just live with them until you can get your own place.

Is it illegal for someone to claim an ex spouse as their sister? Then a few years down the line have a different family member claim them as something else? What should be done to correct this?