There are a lot of scifi post-apocalyptic movies, this particular one sounds an awful lot like
Children of Men perhaps.. except for where it doesn't.
Maybe it's on the following list:
http://en.wikipedia.org/wiki/List_of_apocalyptic_films
If it isn't, can you attempt to narrow it down a bit further? actors/years? have you looked on IMDB?