It’s common for RSUs to keep vesting after you leave a company if your plan includes post-termination vesting (e.g., in a retirement, layoff, or garden-leave scenario). But for internationals in Germany, these “trailing” RSUs can create cross-border tax issues.
Germany may still tax some or all of the income if part of the work that earned the RSUs was done while you were in Germany, even if you live somewhere else when they vest.