Yes, if the soil supporting the foundation has a lot of clay in it, and it becomes saturated, it can expand and actually move portions of the foundation.  This may be the cause of the sticking doors and windows.