The rf unit is what picks up the signal from the key, it is located under the plastic trim behind the rear seats on the drivers side. Common problem is the aerial lead to it is disconnected to prevent battery drain but this means the key sync wont take.
Check the rf unit has the blue lead attached to it. If it has, time to delve deeper into the BeCM or if it is the older rf unit it could be losing its marbles!