I am building a new house. We have to drill a deep well for water (~500ft). Can this same well be used for geothermal energy as well, or does that have to be on a separate system?

(may be broke/outdated!)
I am building a new house. We have to drill a deep well for water (~500ft). Can this same well be used for geothermal energy as well, or does that have to be on a separate system?