Where is the line between Basement and Living space? Is it the addition of Heat, Carpeting?

For the purposes of GFCI protection, at what point is it no longer needed or required according to code?


Bill