This cannot be said generally. The copyright policies of the publishers are quiet different. You should look into your contract with the publisher (if there was any) or into their instructions for authors or their web page about copyright. See also these useful considerations by ResearchGate, with links to such pages for various publishers: https://help.researchgate.net/hc/en-us/sections/14292519175697-Copyright