352.40 "......shall be fastened so that movement from thermal expansion or contraction shall be permitted."

352.44 calls for expansion fitting if movement of 1/4" or more is expected."In a straight run between securely mounted items...." (2008 NEC)

My direct answer (opinion)Would be: if you anticipate a 1/4" movement or more, Yes, you need an expansion fitting.