Usually doesn't. However sometimes skin cancers can metastasize and spread to distant parts of the body. Also, the same sun damage which caused one skin cancer, has made other parts of the skin vulnerable to cancer as well.
If it spreads. Typical skin cancer such as a basal cell cancer or a localized squamous cell will not affect the whole body. Only a squamous cell or melanoma that is advanced and spread will affect other areas of the body.