Deductions & credits

Do these rules around 250,000/500,000 allowed gains on homes also apply at the state level?  I assume there are not different rules for the states?  My state is asking me if I sold an 'asset'... I did, but didn't have worthy 'gains' based on the above rules..  appreciate the information!