Environment variables don't work like that. Process sets them for itself and child processes it creates afterward inherit them, you can't set environment variables of other processes explicitly.
It should be possible to write some variable to a file before exiting Vifm and then load it from your shell, but you'll have to use a wrapper function in the shell to then process the file. It's not clear if it fits your use case, what are you trying to achieve?