You cannot own what is in another person's head.
Sorry, but this thinking is either boresome or nitpicking. Yes, you cannot own thoughts. Yes, you cannot transfer authorship of said software. Have this any relevance to the post? No. You can do transfer each and every right related to the usage of that software. You will always be named as the author, but you can not do anything with that software at all without the permission of your employer.