Wouldn't we know this already if populations in sunny areas had less cancer (controlled for genetics)?
mini-rant
Even if we could design an experiment to know how much sunlight affects cancer mortality, it might not be worth the time and money. We already know ways to reduce cancer incidence in a population: less tobacco, less alcohol, less obesity, more exercise, sunscreen if you have light skin. We could further reduce cancer mortality by getting people to follow screening guidelines.
We've reached a point where public policy and outreach are the most valuable efforts to preventing cancer incidence and mortality. Quitting bad habits is hard. Going to the doctor for screening can be scary, expensive, or logistically difficult.
/mini-rant