They will. Pokemon Home is completely independent from Pokemon Shield or any Pokemon game for that matter, and is merely a storage vessel for the Pokemon that you use. Pokemon home was developed by a different developer, and it was released seperately. It does, in fact, stay.
Hope this helps :)