Here are two maps of the USA. The first compares the states that voted for Obama (blue) and Romney (red) in the 2012 presidential election. The second shows states that are very religious (dark green), average (green) and below average in religiosity (light green).
It is interesting that 100% of the “above average” religious states went for Romney, and 14 out of 16 “below average” religious states went for Obama. Exit polls show that people who go to church regularly supported Romney by large margins, and people who never go to church supported Obama by large margins.
Religion was not the only factor in the election, as there were many “average” religious states that went for Romney and two “below average” states (Wyoming and Alaska) that went for Romney. This is because there are two kinds of conservatives: social conservatives and fiscal conservatives. Wyoming and Alaska are definitely independent-minded, fiscally conservative states. But the map does indicate that despite all the focus on the economy in this election, the differences between the candidates on the social issues that religious people care about, especially abortion and traditional marriage, made a huge difference in how people voted.