There is no way to know in what year or even century the poem takes place, but it must have been after the Age of Exploration, because the Mariner describes a voyage all the way down to the Antarctic. As for the place, we know the Mariner and the Wedding Guest come from somewhere in the British Isles, but not exactly.