Can a refrigerator that is 21.5 cubic feet fit into a spcr that is 21 cubic feet

No, the refrigerator that is 21.5 cubic feet would likely not fit into a space that is only 21 cubic feet. There needs to be some clearance around the refrigerator for proper ventilation and functioning, so the space should ideally be larger than the refrigerator itself.